package com.smf.lsc.authorization.security.properties;

import lombok.Data;

/**
 * 客户端配置信息
 * Created on 2021/11/19.
 *
 * @author ln
 * @since 1.0
 */

@Data
public class OAuth2ClientProperties {

    private String clientId;

    private String clientSecret;

    //设置token有效时间
    private Integer accessTokenValiditySeconds = 7200;
    
    //设置刷新token有效时间
    private Integer refreshTokenValiditySeconds = 60 * 60 * 24;
    
    //重定向地址信息
    private String redirectUri="http://localhost";
}
